package com.example.blog.base;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.blog.entity.Query;
import com.example.blog.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BaseService {

    public Page getListByQueryPage(Query query);

    public int updateByEntity(BaseEntity baseEntity);

    public int insertByEntity(BaseEntity baseEntity);

}
